package com.webside.front.common.service.impl;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.webside.front.common.mapper.AdvertisementMapper;
import com.webside.front.common.model.AdvertisementEntity;
import com.webside.front.common.service.AdvertisementService;
@Service("advertisementService")
public class AdvertisementServiceImpl implements AdvertisementService {
	@Autowired
	AdvertisementMapper advertisementMapper;
	
	@Override
	public List<AdvertisementEntity> selectAdByPosition(Date date, String positionCode) {
		return advertisementMapper.selectAdByPosition(date, positionCode);
	}
	
}
